<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<style type="text/css">
table{
	width: 800px;
	border-collapse: collapse;
}
td,th{
	padding: 8px 15px;
	text-align: center;
}
</style>
	<div>
		<table border="1">
			<tr>
				<th>课程</th>
				<th>成绩</th>
			</tr>
			<c:forEach items="${list}" var="g">
				<tr>
					<td>${g.course.name}</td>
					<td><input type="text" value="${g.grade}" onchange="cjChange(${g.id},this.value)"></td>
				</tr>
			</c:forEach>
		</table>
	</div>
